/*
	Azid Engine is 3D Game Engine developed along side with Galactic Siege (see Google Code) 
	Copyright (C) 2010  Jorgen Ader

	This file is part of AzidEngine.

	AzidEngine is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	AzidEngine is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with AzidEngine.  If not, see <http://www.gnu.org/licenses/>. 
*/

#ifndef EngineModManager_HPP_
#define EngineModManager_HPP_

#include "Includes.hpp"
#include "EngineMod.hpp"

namespace AzidEngine
{
	/**
	 * \addtogroup ENGINE
	 * @{
	 * \addtogroup MANAGERS
	 * @{
	 **/

	enum MOD_TYPE
	{
		CONTENT = 400,
		CAMPAIGN
	};

	/**
	 *  \class ModManager
	 *  @{
	 **/
	class ModManager
	{
	public:

		/**
		 * ModManager constructor
		 **/
		ModManager();

		/**
		 * ModManager destructor
		 */
		~ModManager();

		/**
		 * Reads Mod info and content from <i>../Data/Mod</i>
		 **/
		void ReadMods();

	private:
		// TODO find usable hashmap and implement all container's with it
		struct Mod
		{
			EngineMod*				ModPtr;
			bool					Loaded;
		};
		std::vector<Mod>			mModContainer;
	};
	/**
	 * @}
	 * @}
	 * @}
	 **/
}
#endif /* EngineModManager_HPP_ */
